Skip to content

feat: HIP-1137#2654

Draft
manishdait wants to merge 27 commits intohiero-ledger:mainfrom
manishdait:feat/hip-1137
Draft

feat: HIP-1137#2654
manishdait wants to merge 27 commits intohiero-ledger:mainfrom
manishdait:feat/hip-1137

Conversation

@manishdait
Copy link
Copy Markdown
Contributor

Description:
This PR introduce HIP 1137

Related issue(s):

Fixes #2644

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 6, 2026

Not up to standards ⛔

🔴 Issues 2 medium

Alerts:
⚠ 2 issues (≤ 0 issues of at least minor severity)

Results:
2 new issues

Category Results
BestPractice 1 medium
Complexity 1 medium

View in Codacy

🟢 Metrics 372 complexity

Metric Results
Complexity 372

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@manishdait
Copy link
Copy Markdown
Contributor Author

manishdait commented Apr 8, 2026

Hi @mustafauzunn, Is there any update on the Mirrornode Rest endpoint for registerdNode

@mustafauzunn
Copy link
Copy Markdown
Contributor

Hi @manishdait , you can follow this EPIC hiero-ledger/hiero-mirror-node#12932
The endpoint task is in progress

@mustafauzunn
Copy link
Copy Markdown
Contributor

Hi @manishdait
we have some changes to the hip. Please check hiero-ledger/sdk-collaboration-hub#167

@manishdait
Copy link
Copy Markdown
Contributor Author

@mustafauzunn, Thanks for sharing

@mustafauzunn
Copy link
Copy Markdown
Contributor

Hi @manishdait
It seems like mirror node changes are ready hiero-ledger/hiero-mirror-node#12932

@manishdait
Copy link
Copy Markdown
Contributor Author

Hi @mustafauzunn, I updated the hieroVersion in the solo-action to 0.73.0 for testing, but the Hook-related e2e tests are failing. I try to run them on my local solo setup and on testnet but the Hook related issues still fails with HOOK_NOT_ENABLED status. At the moment, I’m not sure whether this is caused by the hieroVersion change or an issue with the SDK’s hook tests.

Here is the log for AccountCreateTransactionHooksIntegrationTest integration test, I run using the testnet

> Task :sdk:testIntegration
  com.hedera.hashgraph.sdk.test.integration.AccountCreateTransactionHooksIntegrationTest ✘ Given AccountCreateTransaction with basic EVM hook, when executed, then receipt status is SUCCESS (15.2s)
                                                                                                                                                                                                                             
    com.hedera.hashgraph.sdk.PrecheckStatusException: Hedera transaction `0.0.6105114@1777016676.272000651` failed pre-check with the status `HOOKS_NOT_ENABLED`
        at app/com.hedera.hashgraph.sdk.test.integration@2.70.0/com.hedera.hashgraph.sdk.test.integration.AccountCreateTransactionHooksIntegrationTest.accountCreateWithBasicLambdaHookSucceeds(AccountCreateTransactionHooksIntegrationTest.java:39)
                                                                                                                                                                                                                             

  0 passing (19.2s)
  1 pending                                                                                                                                                                                                                  
  1 failing                                                                                                                                                                                                                  


2 tests completed, 1 failed, 1 skipped

> Task :sdk:testIntegration FAILED

FAILURE: Build failed with an exception.

@mustafauzunn
Copy link
Copy Markdown
Contributor

Hi @manishdait you can disable hooks tests for now. Hooks are disabled on 0.73.0

Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
*/
public NodeCreateTransaction addAssociatedRegisteredNode(long associatedRegisteredNode) {
requireNotFrozen();
if (associatedRegisteredNodes.size() >= 20) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mustafauzunn should we remove this check and let it handle by the consensus node to throw the PrecheckError with MAX_REGISTERED_NODES_EXCEEDED. also similar with other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement HIP-1137 — Block Node discoverability via on-chain registry

2 participants